package com.ruoyi.receivable.mapper;

import java.util.List;
import com.ruoyi.receivable.domain.ErpAccountReceivable;

/**
 * 应收款明细Mapper接口
 * 
 * @author ruoyi
 * @date 2025-07-19
 */
public interface ErpAccountReceivableMapper 
{
    /**
     * 查询应收款明细
     * 
     * @param outboundNo 应收款明细主键
     * @return 应收款明细
     */
    public ErpAccountReceivable selectErpAccountReceivableByOutboundNo(String outboundNo);

    /**
     * 查询应收款明细列表
     * 
     * @param erpAccountReceivable 应收款明细
     * @return 应收款明细集合
     */
    public List<ErpAccountReceivable> selectErpAccountReceivableList(ErpAccountReceivable erpAccountReceivable);

    /**
     * 新增应收款明细
     * 
     * @param erpAccountReceivable 应收款明细
     * @return 结果
     */
    public int insertErpAccountReceivable(ErpAccountReceivable erpAccountReceivable);

    /**
     * 修改应收款明细
     * 
     * @param erpAccountReceivable 应收款明细
     * @return 结果
     */
    public int updateErpAccountReceivable(ErpAccountReceivable erpAccountReceivable);

    /**
     * 删除应收款明细
     * 
     * @param outboundNo 应收款明细主键
     * @return 结果
     */
    public int deleteErpAccountReceivableByOutboundNo(String outboundNo);

    /**
     * 批量删除应收款明细
     * 
     * @param outboundNos 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteErpAccountReceivableByOutboundNos(String[] outboundNos);
}
